package com.topisv.tms.repository.md;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;

import com.topisv.tms.entity.stock.instorage.MDHouseConfig;


/**
 * @author cc
 *
 */
public abstract interface MDHouseConfigDao extends PagingAndSortingRepository<MDHouseConfig, Long>, JpaSpecificationExecutor<MDHouseConfig>
{
	@Query("select t from MDHouseConfig t where  t.mdWarehouseCode=?1")
	MDHouseConfig loadByMdWarehouseCode(String mdWarehouseCode);
	
}